package com.laicunba.service;

import java.util.List;
import java.util.Map;

import com.laicunba.pojo.FinancingTargetPositionDO;
import com.laicunba.pojo.vo.FinancingTargetPositionVO;
import com.laicunba.pojo.vo.PositionConditionVO;

public interface FinancingTargetPositionService extends BaseService {

	public boolean create(FinancingTargetPositionDO financingTargetPosition);

	public List<FinancingTargetPositionVO> getFinancingTargetPositionVOList(FinancingTargetPositionVO positionVO);

	public boolean delete(FinancingTargetPositionDO financingTargetPosition, String id);

	public boolean update(FinancingTargetPositionDO financingTargetPosition);

	public Map<String, Integer> count();

	/**
	 * 找到同一期限待上架列表
	 * 
	 * @param period
	 * @return
	 */
	public List<FinancingTargetPositionDO> findPreparedList(int period);

	public List<FinancingTargetPositionDO> findByTargetId(String targetId);

	public boolean delete(String id);

}
